package com.zzj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzj.bean.AreaBean;
import com.zzj.dao.AreaMapper;
import com.zzj.service.AreaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, AreaBean> implements AreaService {

    @Resource
    private AreaMapper areaMapper;


    @Override
    public List<AreaBean> getAreaByCid(Integer cid) {
        return areaMapper.getAreaByCid(cid);
    }
}
